package raft

import (
	"6.824/utils"
	"fmt"
)

func (rf *Raft) Log(topic utils.LogTopic, str string, v ...interface{}) {
	utils.Debug(topic, fmt.Sprintf("S%d T%d: ", rf.me, rf.persistentContext.CurrentTerm)+str, v...)
}
